class Session:sessionID = ""location = ""users = []matches = {}activeUsers = {}suspendedUsers = {}disconnectedUsers = {}### Allow user to join session, return bool with true or false for success or failure### Can contain logic for symmetrical graph, allowing people in based on number of users, etc. return status codes as ENUMS instead of def joinSession(user):### Create a graph object and adjacency matrix at the beginning of a swipe sessiondef createGraph():### Return user ids for next 20 users, these users will be saved to client's cachedef getNextN(user, N):### Update graph based on user's likes returned from a blobdef updateGraph()### Last function called at the end of the swipe sessions after all user swipes have been updated def findMatches()### Return user's match from list of matchesdef getMatch(user):### Write in-memory graph and session object to DBdef writeToDB(sessionID):